/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package diseño;

import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
import javax.swing.ImageIcon;
import javax.swing.JLabel;

/**
 *
 * @author jcverdia
 */
public class DFR {
   public void recEliminados() {
    final Frame f=new Frame("Recupera Archivos Eliminados");
    f.setLayout(null);
// *********muestra la imagen*******
    JLabel img=new JLabel();
    img.setIcon(new ImageIcon("imagenes/elim1.jpg"));



    img.setBounds(30, 80, 674, 329);
    f.add(img);





//    ************botones *******

    Button b1=new Button( "Inicio");
    b1.setBounds(200, 450, 105, 40);
    b1.setBackground(Color.LIGHT_GRAY);
    b1.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent ae) {
                f.dispose();
            }
        });
    f.add(b1);

    Button b2=new Button( "Atras");
    b2.setBounds(300, 450, 105, 40);
    b2.setBackground(Color.LIGHT_GRAY);
    b2.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent ae) {
                f.dispose();
            }
        });


    f.add(b2);

    Button b3=new Button( "Suguiente");
    b3.setBounds(400, 450, 105, 40);
    b3.setBackground(Color.LIGHT_GRAY);

    f.add(b3);






   
    f.setBackground(Color.blue);
    f.setBounds(100, 100, 750, 500);
    f.setVisible(true);
    f.addWindowListener(new WindowAdapter() {

            public void windowClosing(WindowEvent we) {
                f.dispose();
            }

        });

}

   public void recEliminados2() {
    final Frame f=new Frame("Recupera Archivos Eliminados");

// *********muestra la imagen*******
    JLabel img=new JLabel("hsds");
    img.setIcon(new ImageIcon("imagenes/elim12.jpg"));
    img.setBounds(30, 80, 674, 329);
    f.add(img);





//    ************botones *******

    Button b1=new Button( "Inicio");
    b1.setBounds(200, 450, 105, 40);
    b1.setBackground(Color.LIGHT_GRAY);
    b1.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent ae) {
                f.dispose();
            }
        });
    f.add(b1);

    Button b2=new Button( "Atras");
    b2.setBounds(300, 450, 105, 40);
    b2.setBackground(Color.LIGHT_GRAY);
    b2.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent ae) {
                f.dispose();
            }
        });
    f.add(b2);

    Button b3=new Button( "Suguiente");
    b3.setBounds(400, 450, 105, 40);
    b3.setBackground(Color.LIGHT_GRAY);
    f.add(b3);






    f.setLayout(null);
    f.setBackground(Color.blue);
    f.setBounds(100, 100, 750, 500);
    f.setVisible(true);
    f.addWindowListener(new WindowAdapter() {

            public void windowClosing(WindowEvent we) {
                f.dispose();
            }

        });

}
   public void recEliminados3() {
    final Frame f=new Frame("Recupera Archivos Eliminados");

// *********muestra la imagen*******
    JLabel img=new JLabel("hsds");
    img.setIcon(new ImageIcon("imagenes/g2.jpg"));
    img.setBounds(30, 80, 674, 329);
    f.add(img);





//    ************botones *******

    Button b1=new Button( "Inicio");
    b1.setBounds(200, 450, 105, 40);
    b1.setBackground(Color.LIGHT_GRAY);
    b1.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent ae) {
                f.dispose();
            }
        });
    f.add(b1);

    Button b2=new Button( "Atras");
    b2.setBounds(300, 450, 105, 40);
    b2.setBackground(Color.LIGHT_GRAY);
    b2.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent ae) {
                f.dispose();
            }
        });
    f.add(b2);

    Button b3=new Button( "Suguiente");
    b3.setBounds(400, 450, 105, 40);
    b3.setBackground(Color.LIGHT_GRAY);
    f.add(b3);






    f.setLayout(null);
    f.setBackground(Color.blue);
    f.setBounds(100, 100, 750, 500);
    f.setVisible(true);
    f.addWindowListener(new WindowAdapter() {

            public void windowClosing(WindowEvent we) {
               f.dispose();
            }

        });

}






    


}
